package com.yeskery.nut.web.demo.dto;

import com.yeskery.nut.annotation.api.ApiModel;
import com.yeskery.nut.annotation.api.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户注册dto
 * @author Yeskery
 * 2023/7/28
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("用户注册dto")
public class UserRegisterDto extends UserLoginDto {

    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称", required = true)
    @NotBlank(message = "昵称不能为空")
    private String nickname;
}
